<include file="Public/sui_header" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/wap/css/customized.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/swipe/css/swipe.css">

<div class="content">
    <div class="addWrap" style="margin-top: 0rem;">
    <div class="swipe" id="mySwipe">
        <div class="swipe-wrap">
            <php>
                $ad = D('Ad')->select();
            </php>
            <volist name="ad" id="vo">
                <div>
                    <a href="{$vo['href']}"><img class="img-responsive" src="__PUBLIC__/file/{$vo['picture']}" /></a>
                </div>
            </volist>
        </div>
    </div>
    <ul id="position">
        <volist name="ad" id="vo">
            <li <if condition="$i eq 1"> class="cur" </if> ></li>
        </volist>
    </ul>
</div>
    <div class="items">
        <ul>
            <a href="{:U('Guider/list')}">
                <li class="item1 fl">
                    <img src="__PUBLIC__/wap/img/th-large.png"></img>
                    <div class="item_text">
                        <span>定制导游</span>
                    </div>
                </li>
            </a>
          
            <a href="{:U('Customized/buy')}">
                <li class="item2 fr">
                    <img src="__PUBLIC__/wap/img/pic.png"></img>
                    <div class="item_text">
                        <span>定制旅游</span>
                    </div>
                </li>
            </a>
        </ul>
    </div>
</div>
<script src="__PUBLIC__/swipe/js/swipe.js"></script>
<script type="text/javascript">
var bullets = document.getElementById('position').getElementsByTagName('li');
var banner = Swipe(document.getElementById('mySwipe'), {
    auto: 2000,
    continuous: true,
    disableScroll: false,
    callback: function(pos) {
        var i = bullets.length;
        while (i--) {
            bullets[i].className = ' ';
        }
        bullets[pos].className = 'cur';
    }
});
</script>
<!--
<style type="text/css">
    .content {
        background:url('/Public/assets/images/background.jpg') no-repeat;background-size:100% 100%;
    }

</style>
<div class="content-padded grid-demo" style="margin-top: 30%;">
    <div class="row">
        <div class="col-50">
            <a href="{:U('Guider/list')}" class="button button-big col-xs-4 button-cute1"> 定制导游</a>
        </div>
        <div class="col-50">
            <a href="{:U('Customized/buy')}" class="button button-big col-xs-4 button-cute2"> 定制旅游</a>
        </div>
    </div>
</div>
-->
<include file="Public/sui_footer" />
